package com.leruan.aasimp.dao;

import java.util.List;

import com.leruan.aasimp.bean.CarBasicCarTypeBean;
import com.leruan.aasimp.bean.CarBasicDemioTypesBean;
import com.leruan.aasimp.entity.CarBasicInfo;


public interface CarBasicInfoDao{
	
	/**
	 * 
	 * 
	 * */
	public void save(CarBasicInfo cardBasicInfo) throws Exception;

	
	/**
	 * 
	 * 
	 * @throws Exception
	 * */
	public List<String> getBrandList()throws Exception;

	/**
	 * 
	 * 
	 * @throws Exception
	 * */
	public List<String> getDepartmentListByBrand(String brand)throws Exception;

	/**
	 * 根据id得到汽车出厂配置信息
	 * 
	 * @throws Exception
	 * */
	public CarBasicInfo getCarBasicInfoById(String id)throws Exception;

	
	/**
	 * 根据id得到汽车出厂配置信息
	 * 
	 * @throws Exception
	 * */
	public List<String> getCarTypeListByDepartment(String department)throws Exception;


	/**
	 * 获取汽车车系代号
	 * 
	 * @throws Exception
	 * */
	public List<CarBasicDemioTypesBean> getDemioTypesList()throws Exception;


	/**
	 *根据车系代号得到车型信息
	 * 
	 * @throws Exception
	 * */
	public List<CarBasicCarTypeBean> getCarTypes(String demioType, String carType)throws Exception;

	/**
	 * 根据id获取图片路径
	 * 
	 * @throws Exception
	 * */
	public List<String> getImagesUrlById(String id)throws Exception;


	public Long getCarBasicId(String brand, String department, String carType)throws Exception;


	
	
	
	
}
